import {sharpTest, sharpTest2} from "./sharp-test";
import {nodeCanvasTest} from "./node-canvas-test";
import {skiaCanvasTest} from "./skia-canvas-test";
import {setImage} from "./setImage";
import {puppeteerTest} from "./puppeteer-test";
import {dida365} from "./dida365";
import fs from "fs";

// console.log('Happy developing ✨')
// const imagePath = './image/pixel-text.png'
// setImage(imagePath)
// setImage('./image/ps.png')
// nodeCanvasTest().then((imagePath)=>{
//     console.log(`imagePath: ${imagePath}`);
//     setImage(imagePath)
// })
// sharpTest()
// sharpTest2()
// nodeCanvasTest()
// skiaCanvasTest()
// puppeteerTest()
//
dida365().then(res=>{
    console.log(res)
    fs.writeFileSync("./json/dida.json",JSON.stringify(res,null, 2));
})
